---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/voter_id/Replication/figure_a3.log
  log type:  text
 opened on:  17 Aug 2020, 13:22:13

. 
. use election voted no_dmv_match birth_year race_string new_reg ///
>         using "$path/nc_dataset.dta" if new_reg == 0, clear

. 
. // drop 2018
. drop if inlist(election, 11, 12)
(13,254,638 observations deleted)

. 
. // generate race by age FEs
. egen race_age = group(birth_year race_string)
(94110 missing values generated)

. drop birth_year race_string

. 
. gen year = election + 2006

. drop election

. compress
  variable race_age was float now int
  variable year was float now int
  (265,092,760 bytes saved)

. binscatter voted year, by(no_dmv_match) absorb(race_age) linetype(connect)  ///
>         xtitle("") ytitle("Election Turnout Rate") n(10) legend(off)

. 
. graph export "$path/figure_a3.pdf", replace
(file ~/Dropbox/voter_id/Replication/figure_a3.pdf written in PDF format)

. 
. log close
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/voter_id/Replication/figure_a3.log
  log type:  text
 closed on:  17 Aug 2020, 13:40:08
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
